﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.Commont.Domains.BatchManagementFiles
{
    /// <summary>
    /// 白条称重
    /// </summary>
    public class WhiteNotes
    {
        [Key]
        /// <summary>
        /// 白条称重主键
        /// </summary>
        public int WhiteNoteid { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public int Stashid { get; set; }
        /// <summary>
        /// 称重时间
        /// </summary>
        public DateTime WhiteNoteTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 商品代号  外键
        /// </summary>
        public int ShoppingDesignationid { get; set; }
        /// <summary>
        /// 称重个数
        /// </summary>
        public int WhiteNoteNum { get; set; }
        /// <summary>
        /// 毛重
        /// </summary>
        public decimal WhiteNoteWeight { get; set; }
        /// <summary>
        /// 皮重
        /// </summary>
        public decimal WhiteNoteTare { get; set; }
        /// <summary>
        /// 净重
        /// </summary>
        public decimal NetWeight { get; set; }
        /// <summary>
        /// 划膘等级
        /// </summary>
        public string ScratchTheFat { get; set; }
        /// <summary>
        /// 扣减项 id 外键
        /// </summary>
        public int Ductionid { get; set; }
        /// <summary>
        /// 备注详情
        /// </summary>
        public string WhiteNoteRemark { get; set; }
        /// <summary>
        /// 屠宰编号
        /// </summary>
        public string SlaughterNumber { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public int isyes { get; set; }
    }
}
